﻿#ifndef PST_DIALOGPYTHONSCRIPTEDITING_H
#define PST_DIALOGPYTHONSCRIPTEDITING_H

#include <IdaDialogFrame>
QT_BEGIN_NAMESPACE
namespace Ui { class DialogPythonScriptEditing; };
QT_END_NAMESPACE

namespace pst
{
    class DialogPythonScriptEditing : public IdaDialogFrame
    {
        Q_OBJECT

    public:
        DialogPythonScriptEditing(QWidget* parent = nullptr);
        ~DialogPythonScriptEditing();
        void setPythonScriptFilePath(const QString& filePath);

    private slots:
        void reject() override;
        void accept() override;
        void initPythonContent();

    signals:
        void sendNewText(QString filepath, QString text);

    private:
        Ui::DialogPythonScriptEditing* ui;
        QString m_PythonScriptFilePath;
        int m_DataRowMax;

    };
}
#endif //PST_DIALOGDATAIMPORTCONFIGURATION_H
